<%@ page language="java" import="java.util.*,java.io.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My JSP 'doUserAdd.jsp' starting page</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script type="text/javascript" src="./js/jquery_3.2.1.js"></script>
<script type="text/javascript" src="./lib/layui/layui.js"
	charset="utf-8"></script>
<script type="text/javascript" src="./js/xadmin.js"></script>
</head>
<%--
   iframe 刷新上级窗口
   a.jsp 通过iframe b.jsp
   b.jsp中刷新 a
   --%>
<body>
	<%
		request.setCharacterEncoding("utf-8");
		//String name
		//dao.isnert();
		//if
		
		String name=request.getParameter("name");
		String head=request.getParameter("bigheadpicture");
		out.print(name+","+head);
		InputStream in=request.getInputStream();
		int ch=-1;
		while((ch=in.read())!=-1){
			System.out.print((char)ch);
		}
		int r = 1;
		if (r > 0) {
	%>
	<!-- <script>
		layui.use([ 'layer' ], function() {
			layer.alert('新增用户成功！', {
				icon : 2
			}, function() {
				var index = parent.layer.getFrameIndex(window.name);
				//关闭当前frame
				parent.layer.close(index);
				parent.location.reload();
			//刷新父窗口
			});
	
		});
	</script> -->
	<%
		}
	%>
</body>
</html>
